package com.wanpinghui.wphlibrary.model.db.bean;

import org.xutils.db.annotation.Column;
import org.xutils.db.annotation.Table;

/***
 * 功能描述:项目是否已读记录
 * 作者:qiujialiu
 * 时间:2017/12/1
 ***/
@Table(name = "message_read")
public class MessageReadBean {
    @Column(name = "id", autoGen = false, isId = true)
    private String id;

    @Column(name = "is_read")
    private int isRead;

    public String getId() {
        return id;
    }

    public int getIsRead() {
        return isRead;
    }

    public MessageReadBean(String id, int isRead) {
        this.id = id;
        this.isRead = isRead;
    }

    public MessageReadBean(String id) {
        this.id = id;
        isRead = 0;
    }

    public MessageReadBean() {
    }
}
